package com.ruoyi.energize.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 门店客流数据对象 wdz_passenger_flow_data
 *
 * @author ruoyi
 * @date 2023-06-14
 */
public class WdzPassengerFlowData extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自动递增id */
    private Long id;

    /** 门店id */
    @Excel(name = "门店id")
    private Integer depId;

    /** 店铺编号 */
    @Excel(name = "店铺编号")
    private String shopId;

    /** 门店设备id(烟草门店) */
    @Excel(name = "门店设备id(烟草门店)")
    private Integer storeId;

    /** 门店名称 */
    @Excel(name = "门店名称")
    private String name;

    /** 客流时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "客流时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date time;

    /** 进店客流 */
    @Excel(name = "进店客流")
    private Integer passengerFlow;

    /** 过店客流 */
    @Excel(name = "过店客流")
    private Integer passPassengerFlow;

    /** 店外客流 */
    @Excel(name = "店外客流")
    private Long outSidePassengerFlow;

    /** 进店率 */
    @Excel(name = "进店率")
    private BigDecimal inShopRate;

    /** 出店客流 */
    @Excel(name = "出店客流")
    private Integer outFlowCount;

    /** 时间类型 1-时 2-天 3-周 4-月 5-季 6-年 */
    @Excel(name = "时间类型 1-时 2-天 3-周 4-月 5-季 6-年")
    @JsonProperty("TimeType")
    private Integer TimeType;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setDepId(Integer depId)
    {
        this.depId = depId;
    }

    public Integer getDepId()
    {
        return depId;
    }
    public void setShopId(String shopId)
    {
        this.shopId = shopId;
    }

    public String getShopId()
    {
        return shopId;
    }
    public void setStoreId(Integer storeId)
    {
        this.storeId = storeId;
    }

    public Integer getStoreId()
    {
        return storeId;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setTime(Date time)
    {
        this.time = time;
    }

    public Date getTime()
    {
        return time;
    }
    public void setPassengerFlow(Integer passengerFlow)
    {
        this.passengerFlow = passengerFlow;
    }

    public Integer getPassengerFlow()
    {
        return passengerFlow;
    }
    public void setPassPassengerFlow(Integer passPassengerFlow)
    {
        this.passPassengerFlow = passPassengerFlow;
    }

    public Integer getPassPassengerFlow()
    {
        return passPassengerFlow;
    }
    public void setOutSidePassengerFlow(Long outSidePassengerFlow)
    {
        this.outSidePassengerFlow = outSidePassengerFlow;
    }

    public Long getOutSidePassengerFlow()
    {
        return outSidePassengerFlow;
    }
    public void setInShopRate(BigDecimal inShopRate)
    {
        this.inShopRate = inShopRate;
    }

    public BigDecimal getInShopRate()
    {
        return inShopRate;
    }
    public void setOutFlowCount(Integer outFlowCount)
    {
        this.outFlowCount = outFlowCount;
    }

    public Integer getOutFlowCount()
    {
        return outFlowCount;
    }
    public void setTimeType(Integer TimeType)
    {
        this.TimeType = TimeType;
    }

    public Integer getTimeType()
    {
        return TimeType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("depId", getDepId())
            .append("shopId", getShopId())
            .append("storeId", getStoreId())
            .append("name", getName())
            .append("time", getTime())
            .append("passengerFlow", getPassengerFlow())
            .append("passPassengerFlow", getPassPassengerFlow())
            .append("outSidePassengerFlow", getOutSidePassengerFlow())
            .append("inShopRate", getInShopRate())
            .append("outFlowCount", getOutFlowCount())
            .append("TimeType", getTimeType())
            .append("createTime", getCreateTime())
            .toString();
    }
}
